<div id="footer_content">
<?
$db_menu = new db_query('SELECT mnu_name,mnu_link,mnu_defined,mnu_target FROM menus WHERE mnu_type = 4 AND mnu_parent_id = 0 AND mnu_active = 1 AND lang_id = ' . $lang_id . ' ORDER BY mnu_order ASC');
$count = mysql_num_rows($db_menu->result);
$i = 0;
while ($row = mysql_fetch_array($db_menu->result))
{
	++$i;
?>
	<a href="<?=$row['mnu_link']?>" target="<?=$row['mnu_target']?>" lang="<?=$array_lang[$lang_id][0]?>"><?=$row['mnu_name']?></a>
    <?=($i<$count)?' | ':''?>
<?
}
unset($db_menu);
?>
</div>
<script type="text/javascript">
$(function(){
	$(".product_picture_thumbnail").tooltip({
		bodyHandler: function(){
			$("#tooltip").css("width", "auto");
			return this.rel;
		},
		track: true,
		showURL: false,
		extraClass: ""
	});
	initColorBox();
});
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18090270-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?
$generate_time = microtime_float() - $start_time;
?>
<!--<center><font face="Arial, Helvetica, sans-serif" size="2" style="background:#000000; color:#FFFFFF">Generate time : <?=$generate_time?> s</font></center>-->